package com.duqc.web.controller;

import com.duqc.web.feign.Result;
import com.duqc.web.feign.SelectionBatchExpertVO;
import com.duqc.web.feign.SelectionListService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName SelectionListController
 * @Description SelectionListController
 * @Author duqc
 * @Date 2023/6/26
 **/
@RestController
@RequestMapping("selection")
@RequiredArgsConstructor
public class SelectionListController {

    private final SelectionListService selectionListService;

    @GetMapping("/group")
    public Result<List<SelectionBatchExpertVO>> selectionListGroup(Long id) {
        return this.selectionListService.selectionListGroup(id);
    }

}
